E
Eric McGraw
In Firefox, as in most regular expression engines, the split function
works like this:
"."]
so that the text pattern in the parentheses is included in the result.
In Internet Explorer, however, the result is different:
I would like to know if there is a way to get IE to include the text in
parentheses.
Thanks a lot,
Eric
works like this:
returns ["His name is ", "name", ". His email address is ", "email","His name is <name>. His email address is <email>.".split(/<(.*?)>/)
"."]
so that the text pattern in the parentheses is included in the result.
In Internet Explorer, however, the result is different:
returns ["His name is ", ". His email address is ", "."]"His name is <name>. His email address is <email>.".split(/<(.*?)>/)
I would like to know if there is a way to get IE to include the text in
parentheses.
Thanks a lot,
Eric