You need to escape the slash
start_from = start_from.replaceAll("\\s", "+");
More Related Contents:
- Regular Expression for name
- How to get a substring through regex in java android?
- Whitespace Matching Regex – Java
- Regex date validation for yyyy-mm-dd [duplicate]
- Regex to remove spaces between numbers only
- Call a method with parameters in java
- Alarm Manager Example
- Java: splitting a comma-separated string but ignoring commas in quotes
- Android 6.0 multiple permissions
- JSON Array iteration in Android/Java
- Java how to replace 2 or more spaces with single space in string and delete leading and trailing spaces
- Manifest merger failed : Attribute application@appComponentFactory cant solve this
- How to parse json parsing Using GSON in android
- Sending a JSON HTTP POST request from Android
- Get the index of a pattern in a string using regex
- How to Check available space on android device ? on SD card? [duplicate]
- Elegant way to read file into byte[] array in Java [duplicate]
- How to get unique random product in node Firebase?
- Android Firestore convert array of document references to List
- Android Studio: failed to complete gradle execution, cause is empty
- Image Orientation – Android
- Regex for checking if a string is strictly alphanumeric
- Firebase can’t save retrieved data to ArrayList
- Android coding with switch (String)
- Android app in Eclipse: Edit text not showing on Graphical layout
- How do I iterate through the id properties of R.java class?
- How to pass data from Recyclerview to Fragment
- Can I store image files in firebase using Java API
- Can one class extend two classes?
- BroadcastReceiver not receiving download complete action