jatubio


Member since 01/19/2011

3 snippets

1249 profile views

1 Comment(s) Posted

View their favorites

their Tags


Profile

Achievement

first submission:submitting first snipplet

jatubio's Recent SnippetsTagged regex



« Prev 1 Next »
Search and returns the first results on a regex search If we use parenthesized or subpattern, can return with $result_number
0 710 posted 9 years ago by jatubio
Build a regex expression to all array elements are present in any order. Gets an array of strings (Sample: array("Access Denied","error","could not be retrieved") Return sample: '(?=.*Access Denied)(?=.*error)(?=.*could not be retrieved)
0 688 posted 9 years ago by jatubio
Replaces spaces by '\s+' which means one or more spaces $string can be one string or one array of strings
0 677 posted 9 years ago by jatubio
« Prev 1 Next »