RegEx
Links
Usage
'str'.search(/pattern/) // returns index
/pattern/.test('str') // : boolean
/pattern/.exec('str') // return null or matches array ([0] is full string, [1].. is groupChecklist
Examples
How to replace "name" : "basic" to "xxx" : "whatever you provided"?
"name" : "basic" to "xxx" : "whatever you provided"?Find the number after a certain word:
How to make sure string 'po box' is not in the test string:
How to find a pattern before a word:
Split using a maximum length (Ruby)
Match string insdie single quotes
match a word
Last updated