FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
JavaExercises/Experiments/ReplaceBadCharsInURL.java at master · biblelamp/JavaExercises · GitHub
biblelamp
/
JavaExercises
Public
Notifications
You must be signed in to change notification settings
Fork
130
Star
153
Code
Issues
1
Pull requests
9
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
JavaExercises
/
Experiments
/
ReplaceBadCharsInURL.java
Copy path
More file actions
More file actions
Latest commit
History
History
History
8 lines (8 loc) · 346 Bytes
Breadcrumbs
JavaExercises
/
Experiments
/
ReplaceBadCharsInURL.java
Copy path
File metadata and controls
8 lines (8 loc) · 346 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
class
ReplaceBadCharsInURL
{
public
static
void
main
(
String
[]
args
) {
String
s
=
new
String
(
"3
\\
07-91 - Kontroln akce 07-91 - Athna
\\
komponenty
\\
E28B91E4-00F0-48B1-976C-2B75AF6B056A
\\
3_El_dokum_legislativa[1].pdf"
);
System
.
out
.
println
(
s
);
String
s1
=
s
.
replaceAll
(
"
\\
["
,
"%5B"
);
System
.
out
.
println
(
s1
);
}
}
Back
|
FazBrowse Home
|
New Git URL