regex - What would be regular expression of finding all strings starts with $ in java -


i having 1 string containing "this time involve $fo, $rtp, $dfg , $rg"

this work too

string str="this time involve $fo, $rtp, $dfg , $rg" ;     string[] arr=str.split(" ");     (string i:arr){          if(i.indexof("$")==0){              system.out.println(i.replaceall("\\,",""));          }     } 

Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -