‎2008 Apr 18 3:55 PM
I am using a RegEX this way for phone numbers
'^[(]?[2-9][0-9][) -]{0,2}' . '[0-9][- ]?' . '[0-9][ ]?' . '((x|ext)[.]?[ ]?[0-9]{1,5})?$';
in
create object regex
exporting
pattern = p_regex
ignore_case = ''.
* For REGEX match
matcher = cl_abap_matcher=>create(
pattern = p_regex
ignore_case = ' '
table = i_files ).
but i am getting an error saying that "No ending delimiter"
Any info?
a®
‎2008 Apr 18 4:01 PM
'^[(]?2-90-9) -{0,2}' . '0-9- ?' . '0-9[ ]?' . '((x|ext)[.]?[ ]?0-9{1,5})?$' ;
I think the last character is a ; It should be a '.'
‎2008 Apr 18 4:10 PM