Jump to content

Topic on Extension talk:MassMessage

regex to extract usernames from a free text member list

1
Jeremyb (talkcontribs)
< input.txt perl -lne 'while (/\[\[user([ _]talk)? *: *([^ \[\]\|]+)(\|[^ \[\]\|]+)?\]\]/gi) { print "user talk:$2"; }' | sort 
| uniq > output.txt
Reply to "regex to extract usernames from a free text member list"