Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
regex help
Forums
Active Threads
Search
Who's Online
Help
Print Thread
regex help
#
198467
29/04/08
11:23 AM
Joined:
Jan 2008
Posts: 22
D
dassa
OP
Ameglian cow
OP
dassa
Ameglian cow
D
Joined:
Jan 2008
Posts: 22
I need a regex that would grab the middle tokens of a string. meaning everthing but the ones on the sides. example token
token token token token
token
I am aware it can be done via other methods but its a regex am after
Thanks
Copy Link to Clipboard
Re: regex help
dassa
#
198476
29/04/08
02:10 PM
Joined:
Oct 2005
Posts: 1,741
G
genius_at_work
Hoopy frood
genius_at_work
Hoopy frood
G
Joined:
Oct 2005
Posts: 1,741
Something like this should work:
/^.+ (.+) .+$/
-genius_at_work
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage