This is a sample string
hi #myname, you got #amount
I want to find all words using java regx,
that starts with #
and ends with space or .
example #myname
,#amount
I tried the following Regex, but it doesn't work.
String regx = "^#(\s+)";
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…