[erlang-questions] How to use the regex in erlang?

Ferenc Holzhauser <>
Fri Mar 22 10:07:58 CET 2013


I think this should work : re:run("It\'s 1 word", "word", [{capture, all,
list}]).

On 22 March 2013 09:58, 饕餮 <> wrote:

> I have see the re model doc.
> But still not know how to use regex to take words from a string...
> How to get the "word" from the string "It's 1 word" with re?
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130322/f17e8ef0/attachment.html>


More information about the erlang-questions mailing list