Regular Expressions 101

IRC protocol prefix parsing

Open Workspace
  • PCRE (Legacy)
  • Match
1

Regular Expression

/
(?: ([a-zA-Z0-9]+))|(?: :(.+))?
/
g

Description

select each argument and retrieve data

Submitted by kerosene2000